package mysql

import "gorm.io/gorm"

type Goods struct {
	gorm.Model
	GoodsId    int64  `gorm:"type:int(11);not null;comment:商品ID"`
	GoodsName  string `gorm:"type:varchar(40);not null;comment:商品名称"`
	GoodsPrice int64  `gorm:"type:int(11);not null;comment:商品价格"`
	GoodsNum   int64  `gorm:"type:int(11);not null;comment:商品库存"`
}
